Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcDays360Function Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 2 - 3 items: start_date, end_date, [method].

Start_date is a date that represents the start date.

End_date is a date that represents the start date.

[Method] is a logical value that specifies whether to use the U.S. or European method in the calculation.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the number of days between two dates based on a 360-day year (twelve 30-day months), which is used in some accounting calculations.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcDays360Function
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 2 - 3 items: start_date, end_date, [method].

    Start_date is a date that represents the start date.

    End_date is a date that represents the start date.

    [Method] is a logical value that specifies whether to use the U.S. or European method in the calculation.

    Return Value

    A System.Int32 value that indicates the evaluate result.
    See Also